const cdnCss = [
    'https://unpkg.com/element-plus/dist/index.css',
    'https://unpkg.com/nprogress/nprogress.css',
    // 如有 Prism 主题：
    'https://cdn.jsdelivr.net/npm/prismjs/themes/prism.css',
    'https://cdn.jsdelivr.net/npm/@kangc/v-md-editor@2.3.18/lib/style/base-editor.css',
    'https://cdn.jsdelivr.net/npm/@kangc/v-md-editor@2.3.18/lib/theme/vuepress.css',
]

const cdnJs = [
    'https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js',
    'https://cdn.jsdelivr.net/npm/vue-router@4/dist/vue-router.global.prod.js',
    'https://cdn.jsdelivr.net/npm/pinia@2/dist/pinia.iife.prod.js',
    'https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js',
    'https://cdn.jsdelivr.net/npm/element-plus/dist/index.full.min.js',
    'https://cdn.jsdelivr.net/npm/@element-plus/icons-vue@2/dist/index.full.min.js',
    'https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js',
    'https://cdn.jsdelivr.net/npm/echarts-gl/dist/echarts-gl.min.js',
    'https://cdn.jsdelivr.net/npm/lodash/lodash.min.js',
    'https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js',
    'https://cdn.jsdelivr.net/npm/nprogress/nprogress.js',
    'https://cdn.jsdelivr.net/npm/marked/marked.min.js',
    'https://cdn.jsdelivr.net/npm/prismjs/prism.js',
    'https://cdn.jsdelivr.net/npm/@vueuse/core/index.iife.min.js',
    'https://cdn.jsdelivr.net/npm/@kangc/v-md-editor@2.3.18/lib/index.min.js',
    'https://cdn.jsdelivr.net/npm/@kangc/v-md-editor@2.3.18/lib/theme/vuepress.js',
    'https://cdn.jsdelivr.net/npm/highlight.js@9.18.1/lib/highlight.js',
    'https://cdn.jsdelivr.net/npm/live2d-widget@3.1.4/lib/L2Dwidget.min.js',

]
const externals = {
    vue: 'Vue',
    'vue-router': 'VueRouter',
    pinia: 'Pinia',
    axios: 'axios',
    'element-plus': 'ElementPlus',
    echarts: 'echarts',
    'echarts-gl': 'echarts',
    lodash: '_',
    'js-cookie': 'Cookies',
    nprogress: 'NProgress',
    marked: 'marked',
    prismjs: 'Prism',
    '@vueuse/core': 'VueUse',
    '@kangc/v-md-editor': 'VMdEditor',
    '@kangc/v-md-editor/lib/theme/vuepress.js': 'VMdEditorThemeVuepress',
    'highlight.js': 'hljs',
    '@element-plus/icons-vue': 'ElementPlusIconsVue'
}
export {
    cdnCss,
    cdnJs,
    externals
}